home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Hyper
/
E
/
EditString.cpt
/
EditString Stack
/
card_7642.txt
< prev
next >
Wrap
Text File
|
1990-06-22
|
1KB
|
44 lines
-- card: 7642 from stack: in
-- bmap block id: 0
-- flags: 0000
-- background id: 3493
-- name: capSentences
-- part 1 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=101 top=211 right=233 bottom=204
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: capSentences
----- HyperTalk script -----
on mouseUp
put editString("capSentences", field A) into field B
end mouseUp
-- part contents for background part 3
----- text -----
editString("CapSentences", source)
• source is the intput variable or field containing the text
-- part contents for background part 1
----- text -----
capSentences
-- part contents for background part 2
----- text -----
This function will capitalize all beginning words of sentences within a text block. The maximum size of the text (or data holder) is 30000 bytes.
-- part contents for background part 4
----- text -----
hello there. it is so nice to see you.
you should come by and see my new mac sometime.